package com.xique.system.api;


import com.github.lianjiatech.retrofit.spring.boot.annotation.RetrofitClient;
import com.xique.common.core.web.domain.AjaxResult;
import com.xique.system.bean.request.IcbcAddVendorRequest;
import com.xique.system.bean.request.IcbcUpdateVendorRequest;
import com.xique.system.bean.request.ProjectUploadPicRequest;
import retrofit2.http.Body;
import retrofit2.http.POST;

/**
 * @author caogq
 */
@RetrofitClient(baseUrl = "${xq.pay.url}")
public interface IPayApi {
    @POST("icbc/vendor/addVendor")
    AjaxResult addVendor(@Body IcbcAddVendorRequest request);

    @POST("icbc/vendor/updateVendor")
    AjaxResult updateVendor(@Body IcbcUpdateVendorRequest request);

    @POST("icbc/vendor/uploadPic")
    AjaxResult uploadPic(@Body ProjectUploadPicRequest request);

}
